package com.authority.entry;

import java.util.Date;

/**
 * Description:角色
 * 
 * @author limeng.g
 * Date 2015-09-02
 */
public class AuthRoleDO {

	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 创建时间
	 */
	private Date gmtCreate;

	/**
	 * 修改时间
	 */
	private Date gmtModified;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 编码
	 */
	private String code;

	/**
	 * 状态（1=正常；-1=注销）@authRole.status
	 */
	private Integer status;

	/**
	 * 描述
	 */
	private String remark;


	/**
	 * 角色归类
	 */
	private Long type;

	/**
	 * operator
	 */
	private Long operatorId;

	
	private Long sysId;
	
	private String nodes; //权限id

	public String getNodes() {
		return nodes;
	}

	public void setNodes(String nodes) {
		this.nodes = nodes;
	}

	public Long getSysId() {
		return sysId;
	}

	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}

	/**
	 * setter for column 主键
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * getter for column 主键
	 */
	public Long getId() {
		return this.id;
	}

	/**
	 * setter for column 创建时间
	 */
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	/**
	 * getter for column 创建时间
	 */
	public Date getGmtCreate() {
		return this.gmtCreate;
	}

	/**
	 * setter for column 修改时间
	 */
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	/**
	 * getter for column 修改时间
	 */
	public Date getGmtModified() {
		return this.gmtModified;
	}

	/**
	 * setter for column 名称
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * getter for column 名称
	 */
	public String getName() {
		return this.name;
	}

	/**
	 * setter for column 状态（1=正常；-1=注销）@authRole.status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * getter for column 状态（1=正常；-1=注销）@authRole.status
	 */
	public Integer getStatus() {
		return this.status;
	}

	/**
	 * setter for column 描述
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * getter for column 描述
	 */
	public String getRemark() {
		return this.remark;
	}

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	/**
	 * setter for column operator
	 */
	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	/**
	 * getter for column operator
	 */
	public Long getOperatorId() {
		return this.operatorId;
	}


	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}